<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\..\..\MonoDevelop.props" />
  <Import Project="$(ReferencesGtk)" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{A1A45375-7FB8-4F2A-850F-FBCC67739927}</ProjectGuid>
    <UsePartialTypes>False</UsePartialTypes>
    <TargetFrameworkIdentifier>.NETFramework</TargetFrameworkIdentifier>
    <TargetFrameworkVersion>$(MDFrameworkVersion)</TargetFrameworkVersion>
    <TargetFSharpCoreVersion>4.4.3.0</TargetFSharpCoreVersion>
    <TestRunnerCommand>..\..\..\build\bin\mdtool.exe</TestRunnerCommand>
    <TestRunnerArgs>run-md-tests</TestRunnerArgs>
    <OutputPath>..\..\..\build\tests</OutputPath>
    <RARResolveFromOutputDirectory>true</RARResolveFromOutputDirectory>
    <ConsolePause>true</ConsolePause>
    <StartAction>Program</StartAction>
    <StartProgram>$(MSBuildProjectDirectory)\..\..\..\build\bin\mdtool</StartProgram>
    <StartArguments>run-md-tests $(MSBuildProjectDirectory)\bin\Debug\MonoDevelop.FSharp.Tests.dll</StartArguments>
    <StartArguments>run-md-tests $(MSBuildProjectDirectory)\..\..\..\build\tests\MonoDevelop.FSharp.Tests.dll</StartArguments>
    <EnablePrivateAssetsLocalCopyWorkaround>false</EnablePrivateAssetsLocalCopyWorkaround>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Core" />
    <Reference Include="mscorlib" />
    <Reference Include="Mono.Addins">
      <Private>False</Private>
      <HintPath>..\..\..\build\bin\Mono.Addins.dll</HintPath>
    </Reference>
    <Reference Include="Mono.Addins.Setup">
      <Private>False</Private>
      <HintPath>..\..\..\build\bin\Mono.Addins.Setup.dll</HintPath>
    </Reference>
    <Reference Include="Xwt">
      <Private>False</Private>
      <HintPath>..\..\..\build\bin\Xwt.dll</HintPath>
    </Reference>
    <Reference Include="Xwt.Gtk">
      <Private>False</Private>
      <HintPath>..\..\..\build\bin\Xwt.Gtk.dll</HintPath>
    </Reference>
    <Reference Include="ICSharpCode.NRefactory">
      <Private>False</Private>
      <HintPath>..\..\..\build\bin\ICSharpCode.NRefactory.dll</HintPath>
    </Reference>
    <Reference Include="GuiUnit">
      <HintPath>..\..\guiunit\bin\net_4_5\GuiUnit.exe</HintPath>
    </Reference>
    <Reference Include="Microsoft.CodeAnalysis">
      <HintPath>..\..\..\build\bin\Microsoft.CodeAnalysis.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="Microsoft.CodeAnalysis.Workspaces">
      <HintPath>..\..\..\build\bin\Microsoft.CodeAnalysis.Workspaces.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="Xamarin.Mac">
      <HintPath>..\..\Xamarin.Mac.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="MonoDevelop.SourceEditor" Condition=" '$(Configuration)' == 'Debug' Or '$(Configuration)' == 'Release' ">
      <Private>False</Private>
      <HintPath>..\..\..\build\AddIns\DisplayBindings\SourceEditor\MonoDevelop.SourceEditor.dll</HintPath>
    </Reference>
    <Reference Include="FSharp.Compiler.Interactive.Settings">
      <HintPath>..\MonoDevelop.FSharpi.Service\lib\FSharp.Compiler.Interactive.Settings.dll</HintPath>
      <Private>True</Private>
    </Reference>
  </ItemGroup>
  <Import Project="$(CustomBeforeMicrosoftCommonTargets)" />
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets" />
  <Import Project="..\.paket\paket.targets" />
  <ProjectExtensions>
    <MonoDevelop>
      <Properties>
        <Policies>
          <TextStylePolicy TabWidth="4" IndentWidth="4" RemoveTrailingWhitespace="True" NoTabsAfterNonTabs="False" EolMarker="Native" FileWidth="80" TabsToSpaces="True" scope="text/x-fsharp" />
          <FSharpFormattingPolicy scope="text/x-fsharp">
            <DefaultFormat IndentOnTryWith="False" ReorderOpenDeclaration="False" SpaceAfterComma="True" SpaceAfterSemicolon="True" SpaceAroundDelimiter="True" SpaceBeforeArgument="True" SpaceBeforeColon="True" __added="0" />
          </FSharpFormattingPolicy>
          <TextStylePolicy inheritsSet="null" scope="application/fsproject+xml" />
          <XmlFormattingPolicy inheritsSet="null" scope="application/fsproject+xml" />
        </Policies>
      </Properties>
    </MonoDevelop>
  </ProjectExtensions>
  <ItemGroup>
    <Compile Include="TestBase.fs" />
    <Compile Include="TestDocument.fs" />
    <Compile Include="TestHelpers.fs" />
    <Compile Include="DebuggerExpressionResolver.fs" />
    <Compile Include="CompilerArguments.fs" />
    <Compile Include="IndentationTrackerTests.fs" />
    <Compile Include="FSharpUnitTestTextEditorExtensionTests.fs" />
    <Compile Include="SyntaxHighlighting.fs" />
    <Compile Include="SemanticHighlighting.fs" />
    <Compile Include="TestTooltipProvider.fs" />
    <Compile Include="ProjectTests.fs" />
    <Compile Include="ProjectCracking.fs" />
    <Compile Include="GlobalSearch.fs" />
    <Compile Include="ParsingTests.fs" />
    <Compile Include="CompletionTests.fs" />
    <Compile Include="TemplateTests.fs" />
    <Compile Include="Interactive.fs" />
    <Compile Include="ParameterHinting.fs" />
    <Compile Include="HighlightUsagesTests.fs" />
    <Compile Include="CopyPaste.fs" />
    <Compile Include="SelectionTests.fs" />
    <Compile Include="UnusedOpens.fs" />
    <None Include="paket.references" />
    <Compile Include="BraceMatcher.fs" />
    <Compile Include="TagComments.fs" />
    <Compile Include="TypeSignatureHelp.fs" />
    <Compile Include="SolutionPadOrdering.fs" />
    <None Include="..\..\..\build\AddIns\FSharpBinding\MonoDevelop.FSharpInteractive.Service.exe">
      <Link>MonoDevelop.FSharpInteractive.Service.exe</Link>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <IncludeCopyLocal Include="System.Reactive.dll" />
    <IncludeCopyLocal Include="Newtonsoft.Json.dll" />
    <IncludeCopyLocal Include="ExtCore.dll" />
    <IncludeCopyLocal Include="Fantomas.dll" />
    <IncludeCopyLocal Include="FSharp.Compiler.CodeDom.dll" />
    <IncludeCopyLocal Include="FSharp.Compiler.Service.dll" />
    <IncludeCopyLocal Include="FSharp.Core.dll" />
    <IncludeCopyLocal Include="MonoDevelop.FSharp.Shared.dll" />
    <IncludeCopyLocal Include="FSharp.Compiler.Interactive.Settings.dll" />
    <Compile Include="LexerTests.fs" />
    <ProjectReference Include="..\..\..\tests\UnitTests\UnitTests.csproj">
      <Project>{1497D0A8-AFF1-4938-BC22-BE79B358BA5B}</Project>
      <Name>UnitTests</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\src\addins\MonoDevelop.Refactoring\MonoDevelop.Refactoring.csproj">
      <Project>{100568FC-F4E8-439B-94AD-41D11724E45B}</Project>
      <Name>MonoDevelop.Refactoring</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\src\addins\MonoDevelop.PackageManagement\MonoDevelop.PackageManagement.csproj">
      <Project>{F218643D-2E74-4309-820E-206A54B7133F}</Project>
      <Name>MonoDevelop.PackageManagement</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\src\addins\MonoDevelop.PackageManagement\MonoDevelop.PackageManagement.Tests\MonoDevelop.PackageManagement.Tests.csproj">
      <Project>{2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}</Project>
      <Name>MonoDevelop.PackageManagement.Tests</Name>
    </ProjectReference>
    <ProjectReference Include="..\MonoDevelop.FSharp.Shared\MonoDevelop.FSharp.Shared.fsproj">
      <Project>{AF5FEAD5-B50E-4F07-A274-32F23D5C504D}</Project>
      <Name>MonoDevelop.FSharp.Shared</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\..\src\addins\MonoDevelop.SourceEditor2\MonoDevelop.SourceEditor.csproj">
      <Project>{F8F92AA4-A376-4679-A9D4-60E7B7FBF477}</Project>
      <Name>MonoDevelop.SourceEditor</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\src\addins\MonoDevelop.UnitTesting\MonoDevelop.UnitTesting.csproj">
      <Project>{A7A4246D-CEC4-42DF-A3C1-C31B9F51C4EC}</Project>
      <Name>MonoDevelop.UnitTesting</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\MonoDevelop.FSharpBinding\MonoDevelop.FSharp.fsproj">
      <Project>{4C10F8F9-3816-4647-BA6E-85F5DE39883A}</Project>
      <Name>MonoDevelop.FSharp</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\src\core\MonoDevelop.Ide\MonoDevelop.Ide.csproj">
      <Project>{27096E7F-C91C-4AC6-B289-6897A701DF21}</Project>
      <Name>MonoDevelop.Ide</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\src\addins\MonoDevelop.Debugger\MonoDevelop.Debugger.csproj">
      <Project>{2357AABD-08C7-4808-A495-8FF2D3CDFDB0}</Project>
      <Name>MonoDevelop.Debugger</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\src\core\MonoDevelop.Core\MonoDevelop.Core.csproj">
      <Project>{7525BB88-6142-4A26-93B9-A30C6983390A}</Project>
      <Name>MonoDevelop.Core</Name>
      <Private>False</Private>
    </ProjectReference>
  </ItemGroup>
  <Choose>
    <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.7.2'">
      <ItemGroup>
        <Reference Include="ExtCore">
          <HintPath>..\packages\ExtCore\lib\net45\ExtCore.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
      </ItemGroup>
    </When>
  </Choose>
  <Choose>
    <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.7.2'">
      <ItemGroup>
        <Reference Include="FSharp.Compiler.Service">
          <HintPath>..\packages\FSharp.Compiler.Service\lib\net461\FSharp.Compiler.Service.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
      </ItemGroup>
    </When>
  </Choose>
  <Choose>
    <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.7.2'">
      <ItemGroup>
        <Reference Include="FSharp.Core">
          <HintPath>..\packages\FSharp.Core\lib\net45\FSharp.Core.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
      </ItemGroup>
    </When>
  </Choose>
  <Choose>
    <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.7.2'">
      <ItemGroup>
        <Reference Include="Mono.Cecil">
          <HintPath>..\packages\Mono.Cecil\lib\net40\Mono.Cecil.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
        <Reference Include="Mono.Cecil.Mdb">
          <HintPath>..\packages\Mono.Cecil\lib\net40\Mono.Cecil.Mdb.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
        <Reference Include="Mono.Cecil.Pdb">
          <HintPath>..\packages\Mono.Cecil\lib\net40\Mono.Cecil.Pdb.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
        <Reference Include="Mono.Cecil.Rocks">
          <HintPath>..\packages\Mono.Cecil\lib\net40\Mono.Cecil.Rocks.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
      </ItemGroup>
    </When>
  </Choose>
  <Choose>
    <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.7.2'">
      <ItemGroup>
        <Reference Include="Newtonsoft.Json">
          <HintPath>..\packages\Newtonsoft.Json\lib\net45\Newtonsoft.Json.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
      </ItemGroup>
    </When>
  </Choose>
  <Choose>
    <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.7.2'">
      <ItemGroup>
        <Reference Include="System.Collections.Immutable">
          <HintPath>..\packages\System.Collections.Immutable\lib\netstandard2.0\System.Collections.Immutable.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
      </ItemGroup>
    </When>
  </Choose>
  <Choose>
    <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.7.2'">
      <ItemGroup>
        <Reference Include="System.Reflection.Metadata">
          <HintPath>..\packages\System.Reflection.Metadata\lib\netstandard2.0\System.Reflection.Metadata.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
      </ItemGroup>
    </When>
  </Choose>
  <Choose>
    <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.7.2'">
      <ItemGroup>
        <Reference Include="System.ValueTuple">
          <HintPath>..\packages\System.ValueTuple\lib\net47\System.ValueTuple.dll</HintPath>
          <Private>True</Private>
          <Paket>True</Paket>
        </Reference>
      </ItemGroup>
    </When>
  </Choose>
  <Import Project="..\packages\StrongNamer\build\StrongNamer.targets" Condition="Exists('..\packages\StrongNamer\build\StrongNamer.targets')" Label="Paket" />
</Project>
